package com.wapper;

public class wapper01 {
    public static void main(String[] args) {
          //jdk5之前是需要手动的装拆箱
        int n1=100;
        //手动装箱
//        int->Integer
       Integer integer=new Integer(n1);
       Integer integer1=Integer.valueOf(n1);
       //手动拆箱 Integer->int
        int i=integer.intValue();
        //jdk5以后，就可以自动的拆装箱
        int n2=3200;
        Integer integer2=n2;
         n2=integer2;

    }
}
